chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
    if (message.type === "PRODUCT_DATA") {
        chrome.storage.local.set({ PRODUCT_DATA: message.data });
        console.log("后台已存储商品数据", message.data);
    }
    if (message.type === "EVALUATION_DATA") {
        chrome.storage.local.set({ EVALUATION_DATA: message.data });
        console.log("后台已存储评价数据", message.data);
    }
});
